package com.bolun998300.personal_blog_springboot.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.bolun998300.personal_blog_springboot.pojo.Blog_Tag;

public interface Blog_TagDao extends JpaRepository<Blog_Tag, Integer> {
	public List<Blog_Tag> findByBlogId(int blogId);
	public List<Blog_Tag> findByTagId(int tagId);
	public Long countByTagId(int tagId);
	
}
